package com.erhya.export.poi.handler;

/**
 * @Author: lilin
 * @Date: 2022/4/16
 */
public class HandlerB extends ExHandler {

    @Override
    public void handle() {

        System.out.println("B方法执行中");

        if (successor != null ){
            System.out.println("B有下一个拦截器");
            successor.handle();
            return;
        }
        System.out.println("B没有下一个拦截器");
    }
}
